From: Bilal Elmoussaoui Date: Tue, 21 May 2024 19:46:06 +0000 (+0200) Subject: window/menu: Remove move titlebar onscreen action X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~122 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e6618d093d9dd01ad2e91529a7349a39394f003d;p=gnome-shell.git window/menu: Remove move titlebar onscreen action A feature that works for server side decorated windows only that only adds slightly more convenience over the regular "move" action that is still there. Keeping it around would complicate some cleanups in upstream Mutter so just drop it. Part-of: --- diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index 571a19358..c69c183d7 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -97,12 +97,6 @@ export class WindowMenu extends PopupMenu.PopupMenu { if (!window.allows_resize()) item.setSensitive(false); - if (!window.titlebar_is_onscreen() && type !== Meta.WindowType.DOCK && type !== Meta.WindowType.DESKTOP) { - this.addAction(_('Move Titlebar Onscreen'), () => { - window.shove_titlebar_onscreen(); - }); - } - item = this.addAction(_('Always on Top'), () => { if (window.is_above()) window.unmake_above();